﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CNdotnet.Ezsocio.DataEntities;

namespace CNdotnet.Ezsocio.DataProvider
{
    public interface IFriendRepository
    {
        bool Exist(int userID, int friendID);

        void Delete(int userID,int friendID);

        void UpdateGroupSetting(int userID, int friendID, int newGroupID);

        List<Friendship> GetFriends(int userID,string kw);

        void Through(int userID, int friendID,int groupID,string note);

        Friendship Insert(Friendship friend);
    }
}
